//import { NgModule } from '@angular/core';
//import { CommonModule } from '@angular/common';
//import { FormsModule } from '@angular/forms';
////import { HighchartsStatic } from 'angular2-highcharts/dist/HighchartsService';
////import { ChartModule } from 'angular2-highcharts';
//import { TranslateModule } from 'ng2-translate';
//import { MapComponent } from "./charts/map.component";
//import { OFaultComponent } from "./charts/ofault.component";
//import { PowerComponent } from "./charts/power.component";
//import { RunComponent } from "./charts/run.component";
//import { FaultComponent } from "./charts/fault.component";
//import { YFaultComponent } from "./charts/yfault.component";
//import { RunloadComponent } from "./charts/runload.component";
//import { PressComponent } from "./charts/press.component";
//import { LoadComponent } from "./charts/load.component";
//import { FaultTypeComponent } from "./charts/faulttype.component";
//import { DateSelectorComponent } from "./date-selector/date-selector.component";
//import {GroupRunComponent} from "./charts/group-run.component";
//import {GroupFaultComponent} from "./charts/group-fault.component";
//import {TempretureComponent} from "./charts/tempreture.component";
//import {GroupPressComponent} from "./charts/group-press.component";
//
////export function highchartsFactory() {
////  return require('highcharts');
////}
//
//declare var require:any;
//
//
//@NgModule({
//  declarations: [MapComponent],
//  imports: [],
//  exports:[MapComponent]
//})
//export class ChartsMapModule { }
//
//@NgModule({
//  declarations: [OFaultComponent],
//  imports: [],
//  exports:[OFaultComponent]
//})
//export class ChartsOFaultModule { }
//
//@NgModule({
//  declarations: [PowerComponent],
//  imports: [],
//  exports:[PowerComponent]
//})
//export class ChartsPowerModule { }
//
//@NgModule({
//  declarations: [RunComponent],
//  imports: [TranslateModule],
//  exports:[RunComponent]
//})
//export class ChartsRunModule { }
//
//@NgModule({
//  declarations: [FaultComponent],
//  imports: [TranslateModule],
//  exports:[FaultComponent]
//})
//export class ChartsFaultModule { }
//
//@NgModule({
//  declarations: [YFaultComponent],
//  imports: [],
//  exports:[YFaultComponent]
//})
//export class ChartsYFaultModule { }
//
//@NgModule({
//  declarations: [RunloadComponent],
//  imports: [TranslateModule],
//  exports:[RunloadComponent]
//})
//export class ChartsRunloadModule { }
//
//@NgModule({
//  declarations: [PressComponent],
//  imports: [],
//  exports:[PressComponent]
//})
//export class ChartsPressloadModule { }
//
//@NgModule({
//  declarations: [LoadComponent],
//  imports: [],
//  exports:[LoadComponent]
//})
//export class ChartsLoadModule { }
//
//@NgModule({
//  declarations: [FaultTypeComponent],
//  imports: [],
//  exports:[FaultTypeComponent]
//})
//export class ChartsFaultTypeModule { }
//
//@NgModule({
//  declarations: [GroupRunComponent],
//  imports: [],
//  exports:[GroupRunComponent]
//})
//export class ChartsGroupRunModule { }
//
//@NgModule({
//  declarations: [GroupFaultComponent],
//  imports: [],
//  exports:[GroupFaultComponent]
//})
//export class ChartsGroupFaultModule { }
//
//@NgModule({
//  declarations: [TempretureComponent],
//  imports: [],
//  exports:[TempretureComponent]
//})
//export class ChartsTempretureModule { }
//
//@NgModule({
//  declarations: [GroupPressComponent],
//  imports: [],
//  exports:[GroupPressComponent]
//})
//export class ChartsGroupPressModule { }
//
//
//@NgModule({
//  declarations: [DateSelectorComponent],
//  imports: [CommonModule,FormsModule],
//  exports:[DateSelectorComponent]
//})
//export class ChartsDateSelectorModule { }
////
////@NgModule({
////  declarations: [
////    MapComponent,
////    OFaultComponent,
////    PowerComponent,
////    RunComponent,
////    FaultComponent,
////    YFaultComponent,
////    RunloadComponent,
////    PressComponent,
////    LoadComponent,
////    FaultTypeComponent,
////    DateSelectorComponent,
////    GroupRunComponent,
////    GroupFaultComponent,
////    TempretureComponent,
////    GroupPressComponent
////  ],
////  imports: [
////    ChartModule,
////    TranslateModule,
////    CommonModule,
////    FormsModule
////  ],
////  providers: [
////    {
////      provide: HighchartsStatic,
////      useFactory: highchartsFactory
////    }
////  ],
////  exports:[
////    TranslateModule,
////    MapComponent,
////    OFaultComponent,
////    PowerComponent,
////    RunComponent,
////    FaultComponent,
////    YFaultComponent,
////    RunloadComponent,
////    PressComponent,
////    LoadComponent,
////    FaultTypeComponent,
////    DateSelectorComponent,
////    GroupRunComponent,
////    GroupFaultComponent,
////    TempretureComponent,
////    GroupPressComponent
////  ]
////})
////export class ChartsModule { }
